package com.zzy.chapter4.pojo;

import com.zzy.chapter4.state.OrderState;
import lombok.*;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order {

    // 订单id
    private String orderId;

    // 商品id
    private String productId;

    // 订单状态
    private OrderState orderState;

    // 订单价格
    private double price;

}
